#ifndef MAINGAME_H
#define MAINGAME_H

#include <QMainWindow>
#include"chooselevelscene.h"

QT_BEGIN_NAMESPACE
namespace Ui { class Maingame; }
QT_END_NAMESPACE

class Maingame : public QMainWindow
{
    Q_OBJECT

public:
    Maingame(QWidget *parent = nullptr);
    ~Maingame();

    //重写paintEvent事件 画背景图
    void paintEvent(QPaintEvent*);

    ChooseLevelScene *chooseScene=NULL;
private:
    Ui::Maingame *ui;
};
#endif // MAINGAME_H
